package com.ww.learn.lambdas

fun main() {
    val kgsToPounds = { x: Double -> x * 2.204623 }
    val poundsToUSTons = { x: Double -> x / 2000.0 }

    val kgsToUSTons = combine(kgsToPounds, poundsToUSTons)

    val usTons = kgsToUSTons(1000.0)
}